package com.qingzhou.web.service.impl.params.vo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.qingzhou.web.service.impl.convert.DictConverter;
import com.qingzhou.web.service.impl.convert.DictParent;
import com.qingzhou.web.service.impl.convert.TestItemConverter;
import com.qingzhou.web.service.impl.convert.UserConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class SurgeryExcelVo {
    @ExcelProperty(value = "状态" ,converter = DictConverter.class)
    @DictParent("multi_center_sys_status")
    private String status;
    @ExcelProperty(value = "医院Site" ,converter = DictConverter.class)
    @DictParent("hospital_site_dict")
    private String hospitalSite;
    @ExcelProperty("患者姓名")
    private String patientName;
    @ExcelProperty(value = "患者编号")
    private String patientCode;
    @ExcelProperty(value = "所属队列", converter = DictConverter.class)
    @DictParent("belong_queue_dict")
    private String belongQueue;
    @ExcelProperty(value = "检测项目", converter = TestItemConverter.class)
    private String testItem;

    // 手术情况（表头）
    @ExcelProperty(value = "是否手术", converter = DictConverter.class)
    @DictParent("sys_yes_no")
    private String isOperation;

    @ExcelProperty(value = "手术日期")
    @DateTimeFormat("yyyy年MM月dd日")
    private Date operationDate;

    @ExcelProperty(value = "手术方式", converter = DictConverter.class)
    @DictParent("surgery_methods_dict")
    private String operationMode;

    @ExcelProperty(value = "切除范围", converter = DictConverter.class)
    @DictParent("resection_ranges_dict")
    private String resectionRanges;

    @ExcelProperty(value = "切除部位", converter = DictConverter.class)
    @DictParent("resection_sites_dict")
    private String resectionSites;

    @ExcelProperty(value = "第8版手术前T分期")
    private String preTblStaging;
    @ExcelProperty(value = "第8版手术前N分期")
    private String preNblStaging;
    @ExcelProperty(value = "第8版手术前M分期")
    private String preMblStaging;
    /*@ApiModelProperty(value = "手术前分期版本号", notes = "字典 stage_version_dict")
    @DictParent("stage_version_dict")
    private String preStageVersion;*/
    @ExcelProperty(value = "第8版手术前TNM分期",converter = DictConverter.class)
    @DictParent("tnm_stage_dict")
    private String preTnm;
    @ExcelProperty(value = "第9版手术前T分期")
    private String preTblNineStaging;
    @ExcelProperty(value = "第9版手术前N分期")
    private String preNblNineStaging;
    @ExcelProperty(value = "第9版手术前M分期")
    private String preMblNineStaging;
    @ExcelProperty(value = "第9版手术前TNM分期",converter = DictConverter.class)
    @DictParent("tnm_stage_dict")
    private String preNineTnm;

    @ExcelProperty(value = "手术备注")
    private String operationRemark;

    @ExcelProperty("数据检查原因")
    private String editReason;

    @ExcelProperty("终止原因")
    private String stopReason;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty(value="创建人",converter = UserConverter.class)
    private String createBy;

    @ExcelProperty("创建时间")
    private Date createTime;
}
